<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">
      	
     <f:loadBundle basename="messages" var="message"/>
     
	<h:head>
		<link class="component" type="text/css" rel="stylesheet"
		href="#{facesContext.externalContext.requestContextPath}/css/estilo.css" />
		
		<script type="text/javascript" 
				language="javascript" 
				src="../scripts/script.js"/>
		
		
		<title>
			<ui:insert name="pageTitle">Envio de Newsletter - Telessaúde</ui:insert>
		</title>
		
	</h:head>

	<h:body onload="capturaImagem();">
		
		<p:layout fullPage="true" >
		
			   <ui:insert name="menu">
					<h:form>
					
						<p:ajaxStatus style="width:64px;height:64px;position:fixed;left:50%;top:50%;">  
						    <f:facet name="start"> 
						    	
							        <p:graphicImage value="/img/loading.gif"/>  
							   
						    </f:facet>  
						  
						    <f:facet name="complete">  
						        <h:outputText value="" />  
						    </f:facet>  
						</p:ajaxStatus> 
					</h:form>
				</ui:insert>

	           <p:layoutUnit id="top" position="north" size="40">
					
	           </p:layoutUnit>
	
	           <p:layoutUnit id="bottom" position="south" size="50">
	           	
					<h:panelGrid style="text-align: center; margin-left: 550px;">
					
						<h:outputText value="Copyright © 2006 - 2013. Todos os direitos reservados." />        
						<h:outputText value="Desenvolvido por: Adão A. de Oliveira" />	           
					</h:panelGrid>						
			   </p:layoutUnit>
	
	           <p:layoutUnit id="left" 
	           				 position="west" 
	           				 size="150" 
	           				 header="Opções">
	               
	               <p:accordionPanel>
	                   <p:tab title="Manter Newsletter">
	                   		<h:form>
	                   			<p:commandButton value="#{message['manterNewsletter.consulta.button.novaNewsletter']}"
												 action="#{mantemNewsletterAction.abreInclusao}" 
												 icon="ui-icon-plus"
												 style="width: 90px;"
												 ajax="false"/>
	                   		</h:form>
	                   </p:tab>
	
	               </p:accordionPanel>
	           </p:layoutUnit>
	
          		<p:layoutUnit id="center" position="center">
	              <ui:insert name="body">
	              </ui:insert>
          		</p:layoutUnit>
	
	       </p:layout>
	</h:body>
		
</html>